import Vue from 'vue'
// import axios from 'axios'
export const overseas = {
  // 学生信息
  teacherInfo: params => { // 获取教职工信息表明细
    return Vue.prototype.$get(`/teacherClient/xn/getJzgxx/${params}`)
  },
  teacherUpdate: params => {
    return Vue.prototype.$post('/teacherClient/xn/update', params)
  },
  xsxxListOut: params => { // 获取学生列表
    return Vue.prototype.$post('/teacherClient/xn/xsxxList', params)
  },
  xsxxList: params => { // 获取学生列表
    return Vue.prototype.$post('/teacherClient/xn/dsxm/listUnconflict', params)
  },
  studentInfo: params => { // 获取学生信息信息
    return Vue.prototype.$get(`/student/xn/info/${params}`)
  },
  //外宿审核
  wsCheck: params => {
    return Vue.prototype.$post('/teacherClient/xn/wsCheck', params)
  },
  // 获取学生住宿申请表明细
  wsInfo: id => {
    return Vue.prototype.$get(`/teacherClient/xn/wsInfo/${id}`)
  },
  // 导师获取学生住宿申请列表
  wsList: params => {
    return Vue.prototype.$post('/teacherClient/xn/wsList', params)
  },
  wsUncheckList: params => {
    return Vue.prototype.$post('/teacherClient/xn/wsUncheckList', params)
  },
  // 获取论文信息表列表
  lwxxList: params => {
    return Vue.prototype.$post('/teacherClient/xn/bsbylw/list', params)
  },
  // 导师审核论文
  lwxxDssh: params => {
    return Vue.prototype.$post('/teacherClient/xn/bsbylw/check', params)
  },
  lwxxDsshList: params => {
    return Vue.prototype.$post('/teacherClient/xn/bsbylw/shList', params)
  },
  // 获取论文信息表明细
  lwxxInfo: params => {
    return Vue.prototype.$get(`/teacherClient/xn/lwxx/info/${id}`, params)
  },

   // 导师审核
   dsshCheck: params => {
    return Vue.prototype.$post('/teacherClient/xn/zqkhxx/check', params)
  },
  // 导师审核列表
  dsshList: params => {
    return Vue.prototype.$post('/teacherClient/xn/zqkhxx/dsshList', params)
  },
  // 退回中期考核
  dsshBack: xh => {
    return Vue.prototype.$post(`/teacherClient/xn/zqkhxx/back/${xh}`)
  },
  // 中期考核信息查询列表
  dsshQuery: params => {
    return Vue.prototype.$post('/teacherClient/xn/zqkhxx/list', params)
  },
  zqkhxxDetail: id => {
    return Vue.prototype.$get(`/teacherClient/xn/zqkhxx/info/${id}`)
  },
  addProject: params => { // 添加项目
    return Vue.prototype.$postJson('/teacherClient/xn/dsxm/create', params)
  },
  projectInfo: params => { // 添加项目
    return Vue.prototype.$post(`/teacherClient/xn/dsxm/info/${params}`)
  },
  projectList: params => { // 
    return Vue.prototype.$post('/teacherClient/xn/dsxm/list', params)
  },
}
